package com.github.ocean.task.config;


import com.yl.css.report.export.dto.ExportTaskBean;
import com.yl.css.report.export.entity.ExportJob;


public interface IExportManage {


    /**
     * @param status {@link FtExportStatusEnum}
     * @create: 2020/2/18 21:58
     * @description: 任务拉取
     * @author: TengJie.Ye
     * @retrun
     */
    ExportJob taskPull(Integer status);


    /**
     * @param ftExportJob
     * @create: 2020/2/19 14:10
     * @description: 任务执行权获取
     * @author: TengJie.Ye
     * @retrun
     */
    ExportTaskBean taskAllow(ExportJob ftExportJob);


    /**
     * @param
     * @create: 2020/2/19 11:41
     * @description: 任务执行
     * @author: TengJie.Ye
     * @retrun
     */
    boolean taskExecute(ExportTaskBean exportTaskBean);


    /**
     * @param
     * @create: 2020/2/19 14:18
     * @description: 任务清理
     * @author: TengJie.Ye
     * @retrun
     */
    boolean taskClear(ExportTaskBean exportTaskBean);


    /**
     * @param
     * @create: 2020/2/18 21:58
     * @description: OSS推送
     * @author: TengJie.Ye
     * @retrun
     */
    boolean ossPush(ExportTaskBean exportTaskBean);


}
